package com.gxa.ssm251.mapper;

import com.gxa.ssm251.pojo.Comment;

import java.util.Date;
import java.util.List;

/**
 * @author 舒空
 */
public interface CommentMapper {

    Integer selectAllComment();

    List<Comment> selectAllByPage(Integer page,Integer size);

    List<Comment> selectLikeParam(String param,Date startTime,Date endTime);

    Integer updateIsVisible(Boolean isVisible,String id);

    Integer delete(String id);

}
